﻿using SqlSugar;
using System;
using System.Diagnostics.Contracts;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 甲方公司
    /// </summary>
    [SugarTable("Corporate")]
    public class CorporateEntity
    {
        /// <summary>
        /// 甲方公司编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string CorporateCode { get; set; }

        /// <summary>
        /// 甲方名称
        /// </summary>
        public string CorporateName { get; set; }

        /// <summary>
        /// 甲方邮编
        /// </summary>
        public string CorporatePostCode { get; set; }

        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string CreditCode { get; set; }

        /// <summary>
        /// 甲方电话
        /// </summary>
        public string CorporatePhone { get; set; }

        /// <summary>
        /// 甲方地址
        /// </summary>
        public string CorporateAddress { get; set; }

        /// <summary>
        /// 法人代表
        /// </summary>
        public string LegalPerson { get; set; }

        /// <summary>
        /// 电子签id
        /// </summary>
        public string AuthorizationOrganizeId { get; set; }

        /// <summary>
        /// 签章人ID
        /// </summary>
        public string AccountId { get; set; }

        /// <summary>
        /// 签章人
        /// </summary>
        public string AccountUserName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// Risk印章编号
        /// </summary>
        public string SealCode { get; set; }

        /// <summary>
        /// Risk印章名称
        /// </summary>
        public string SealName { get; set; }
    }
}
